<template>
  <div class="portal-layout">
    <div class="portal-content">
      <!-- 主体内容 -->
      <router-view>
        <template #default="{ Component, route }">
          <transition name="fade" :route="route">
            <component :is="Component" :key="route.fullPath" class="main-content"></component>
          </transition>
        </template>
      </router-view>
    </div>
  </div>
</template>
<script setup lang="ts">
defineOptions({
  name: "PortalLayout"
});
</script>
<style scoped lang="scss"></style>
